from django.urls import path
from django.conf.urls.static import static


from datacenter.views import (ActionView,ListAllView,SearchView,SearchRactView,\
                              IdcView,GrantRact,ActionView,SaveView)

urlpatterns = [
   # path('action', ActionView.as_view(), name='action'),  # 用户信息操作
    path('list', ListAllView.as_view(), name='list'),
    path('search', SearchView.as_view(), name='search'),
    path('searchract', SearchRactView.as_view(), name='searchract'),
    path('idc', IdcView.as_view(), name='idc'),
    path('grantidc', GrantRact.as_view(), name='grant'),
    path('action', ActionView.as_view(), name='action'),
    path('save', SaveView.as_view(), name='save'),
]